<template>
	<view class="container">
		

	</view>
</template>

<script>
	import MescrollBody from '@/components/mescroll-uni/mescroll-body.vue'
	import MescrollMixin from '@/components/mescroll-uni/mescroll-mixins'
	import * as HelpApi from '@/api/help'
	import {
		getEmptyPaginateObj,
		getMoreListData
	} from '@/core/app'



	export default {
		components: {
			MescrollBody
		},
		mixins: [MescrollMixin],
		data() {
			return {
				id: 0,
				duration: 10,
				content: '请填写听到的英文',
				percent:100,
				num:1
			}
		},

		/**
		 * 生命周期函数--监听页面加载
		 */
		onLoad(options) {
			
				//this.$refs.uCountDown.start();
		},

		methods: {

			next() {
				this.percent=100
				this.num+=1
				this.duration=10
				
				this.$refs.uCountDown.update();
				

			},
			
			start(){
				this.$refs.uCountDown.start();
			},
			// 事件触发，每秒一次
			change(timestamp) {
				console.log(timestamp);
				console.log(this.percent);
				this.percent=10*timestamp
			},



		}
	}
</script>

<style lang="scss" scoped>
	.container {
		height: 932px;
		width: 100%;

		background: linear-gradient(180deg, rgba(225, 239, 255, 1) 0%, rgba(255, 255, 255, 0.88) 97%);
	}

	
</style>